home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
QRZ! Ham Radio 4
/
QRZ Ham Radio Callsign Database - Volume 4.iso
/
files
/
dsp
/
drbubtxt
/
toolstar.z
/
toolstar
/
tools
/
cldlod.hqx
/
makefile.mpw
< prev
Wrap
Makefile
|
1992-02-21
|
2KB
|
64 lines
# $Id: makefile.mpw,v 1.4 92/01/14 15:44:50 jay Exp $
CC = gcc # GNU compiler
#OS = -d BSD # Sun, DEC, Apollo
OS = -d MPW # Non-BSD (PC, Mac)
#OS = -d MACH # Mach (NeXT)
ARCH = -d M68020=1 # Sun 3, NeXT, Apollo, HP, Mac
#ARCH = -d SPARC=1 # Sun 4
#ARCH = -d I8086=1 # PC
#ARCH = -d D3100=1 # DEC 3100
ENDIAN = -d BIG_ENDIAN=1 # everything but DEC and PC
#ENDIAN = -d BIG_ENDIAN=0 # DEC3100 and PC
#CLASDIR=clas56
#CLASDIR=clas96
CLASDIR=clas16
DISTDIR=:::dist:mac:{CLASDIR}
DBIN={DISTDIR}:bin
DTOOL={DISTDIR}:cldtools
DISTSRC=cldinfo.c cldlod.c cofdmp.c srec.c strip.c tiohist.c cofdmp.h srec.h strip.h makefile.mpw srec.r cofdmp.r
DISTBIN=cldinfo cldlod cofdmp srec strip tiohist
Libs = {CLibraries}StdClib.o {Libraries}Runtime.o {Libraries}Interface.o {Libraries}ToolLibs.o
all ─ cldinfo cldlod srec cofdmp strip tiohist
dist ─
newfolder :::dist
newfolder :::dist:mac
newfolder {DISTDIR}
newfolder {DBIN}
newfolder {DTOOL}
for i in {DISTBIN} ; duplicate -y {i} {DBIN} ; end
for i in {DISTSRC} ; duplicate -y {i} {DTOOL} ; end
cldlod ─
{C} {OS} {ENDIAN} -w -model far -i ::mcoffinc cldlod.c -o cldlod.c.o
Link -o {Targ} -t MPST -c "MPS " -w -model far cldlod.c.o {Libs}
cldinfo ─
{C} {OS} {ENDIAN} -w -model far -i ::mcoffinc cldinfo.c -o cldinfo.c.o
Link -o {Targ} -t MPST -c "MPS " -w -model far cldinfo.c.o {Libs}
srec ─
{C} {OS} {ARCH} -w -model far -i ::mcoffinc srec.c -o srec.c.o
Link -o {Targ} -t MPST -c "MPS " -w -model far srec.c.o {Libs}
Rez cmdo.r srec.r -o {Targ} -a
cofdmp ─
{C} {OS} {ARCH} -w -model far -i ::mcoffinc cofdmp.c -o cofdmp.c.o
Link -o {Targ} -t MPST -c "MPS " -w -model far cofdmp.c.o {Libs}
Rez cmdo.r cofdmp.r -o {Targ} -a
strip ─
{C} {OS} {ARCH} -w -model far -i ::mcoffinc strip.c -o strip.c.o
Link -o {Targ} -t MPST -c "MPS " -w -model far strip.c.o {Libs}
tiohist ─
{C} {OS} {ARCH} -w -model far -i ::mcoffinc tiohist.c -o tiohist.c.o
Link -o {Targ} -t MPST -c "MPS " -w -model far tiohist.c.o {Libs}